This interactive viewer demonstrates the use of z-index in CSS to layer images. Clicking on an image will bring it to the front. Each click increases the image's z-index dynamically using JavaScript.